﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace _0812045
{
    public class PictureSprite : BaseSprite
    {
        public PictureSprite(Texture2D[] _inputtexture2d)
        {
            texture2d = _inputtexture2d;
            itexture2d = 0;
        }
        public void Draw(GameTime gameTime, SpriteBatch spriteBatch, Vector2 pointToDraw)
        {
            spriteBatch.Draw(_texture2d[_itexture2d], pointToDraw, Color.White);
        }
    }
}
